﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WordSmith_V1.Library.Model
{
    public class Genre
    {
        private string _name;
        private int _id;
        public Genre() { }
        public Genre(string name)
        { _name = name; }
        public Genre(int id, string name)
        {
            _id = id; 
            _name = name; 
        }
        public virtual int Id {  get{ return _id; } protected set { _id = value; }  }
        public virtual string Name { get { return _name; } protected set { _name = value; } }
        public virtual IList<User> Users { get; protected set; }
       // public virtual string Category { get; set; }
        
    }
}
